From: Florian Müllner Date: Thu, 13 Jul 2023 22:40:09 +0000 (+0200) Subject: tests: Use different suites X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~337^2~1^2~155 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=476bf230416aed7de05b8194451483ba12ace0be;p=gnome-shell.git tests: Use different suites This makes it easier to only run unit- or automation tests. Part-of: --- diff --git a/tests/meson.build b/tests/meson.build index d54bdbbbf..df35080fe 100644 --- a/tests/meson.build +++ b/tests/meson.build @@ -18,7 +18,7 @@ dbus_runner = configure_file( configuration: dbusrunnerconf, ) -tests = [ +unit_tests = [ 'highlighter', 'insertSorted', 'jsParse', @@ -29,9 +29,10 @@ tests = [ 'versionCompare', ] -foreach test : tests +foreach test : unit_tests test(test, run_test, args: 'unit/@0@.js'.format(test), + suite: 'unit', workdir: meson.current_source_dir()) endforeach @@ -67,7 +68,8 @@ foreach shell_test : shell_tests test_name = shell_test['name'] options = shell_test.get('options', []) - test('shell-' + test_name, dbus_runner, + test(test_name, dbus_runner, + suite: 'shell', args: [ test_tool, '--headless',